package com.atkusen.mini.mb;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * map文件映射
 */
@MapperScan("com.atkusen.mini.mb.dao")
@SpringBootApplication
@ComponentScan({"com.atkusen.mini.*"})
@EnableDiscoveryClient
@EnableFeignClients //启动远程掉用
public class MiniMbApplication {

    public static void main(String[] args) {
        SpringApplication.run(MiniMbApplication.class, args);
    }

}
